import React from 'react';
import ReactDOM from 'react-dom';
import './statics/css/global.css';
import registerServiceWorker from './registerServiceWorker';
import { Router, browserHistory } from 'react-router';
import getRoutes from './routers';

ReactDOM.render(
    <Router history={browserHistory}>
        {getRoutes()}
    </Router>, 
    document.getElementById('root')
);
registerServiceWorker();
